<%--
  Created by IntelliJ IDEA.
  User: MAVI003
  Date: 2017/4/1
  Time: 14:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <title>navigation</title>

    <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/icon.jpg">
    <link rel="bookmark" href="${pageContext.request.contextPath}/images/icon.jpg">
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse"
                data-target="#bs-example-navbar-collapse-1"><span
                class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span
                class="icon-bar"></span><span class="icon-bar"></span></button>
        <a class="navbar-brand" href="#">拍卖系统</a>
    </div>

    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
            <li class="active">
                <a href="${pageContext.request.contextPath}/showIndex">首页</a>
            </li>

            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">分类展示<strong
                        class="caret"></strong></a>
                <ul class="dropdown-menu">
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showBookkinds">书籍</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showOtherkinds">其他</a>
                    </li>
                </ul>
            </li>
        </ul>
        <form class="navbar-form navbar-left" role="search" action="${pageContext.request.contextPath}/showSearchResult">
            <div class="form-group">
                <input type="text" class="form-control" name="gname"/>
            </div>
            <button type="submit" class="btn btn-default">搜索商品</button>
        </form>
        <ul class="nav navbar-nav navbar-right">
            <li>
                <a href="#">当前用户：${uname} &nbsp; &nbsp; 账户余额：￥${account}</a>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">我的<strong class="caret"></strong></a>
                <ul class="dropdown-menu">
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showUploadgoods">发布拍卖物品</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showMybuygoods">我拍到的宝贝</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showMyuploadgoods">我发布的宝贝</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showModifyuserinfo">修改个人信息</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/showSaveMoney">充值</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/logout">退出当前账户</a>
                    </li>

                </ul>
            </li>
        </ul>
    </div>

</nav>
</body>
</html>
